package com.czwj.dao;

import java.util.List;
import java.util.Map;

import com.czwj.entities.PlanMain;

public interface PlanMainMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlanMain record);

    int insertSelective(PlanMain record);

    PlanMain selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlanMain record);

    int updateByPrimaryKey(PlanMain record);

	int updateStatus(int id);

	List<PlanMain> searchbyprojectitem(Map<String, Object> map);
	
	int countbyprojectitem(Map<String, Object> map);

	String remainpercent(Map<String, Object> map);

	List<PlanMain> searchReviewedLevel1(Map<String, Object> map);

	int countReviewedLevel1(Map<String, Object> map);

	List<PlanMain> searchReviewedLevel2(Map<String, Object> map);

	int countReviewedLevel2(Map<String, Object> map);

	/**
	* @Title: remainpercentchild
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return String 返回类型
	* @throws
	*/
	String remainpercentchild(Map<String,Object> map);

}